package com.whp.openapi.dao;

import com.whp.openapi.entity.ApiMapping;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ApiMappingMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ApiMapping record);

    int insertSelective(ApiMapping record);

    ApiMapping selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ApiMapping record);

    int updateByPrimaryKey(ApiMapping record);

    List<ApiMapping> getTable(@Param("gatewayApiName") String gatewayApiName,@Param("state") Integer state);

    int delApiMapping(Integer[] ids);
}